<?php
include_once (dirname(__FILE__) ."/../../src/MetaDataToTemplate.php");
include_once (dirname(__FILE__) . "/../../src/config.inc.php");

class Test036 extends UnitTestCase 
{
	function test() 
	{
		$mdtt = new MetaDataToTemplate();
		$mdtt->replace(1, dirname(__FILE__) . "/testfiles/", dirname(__FILE__) . "/testfiles/template/");
		$test = dirname(__FILE__) . "/testfiles/template_brief.tex";
		$ergebnis = dirname(__FILE__) . "/testfiles/template_brief_fertig.tex";
		$this->assertEqual(file_get_contents($test), file_get_contents($ergebnis));
	}
}
?>